#ifndef _SETUPCANSIDE_
#define _SETUPCANSIDE_
#include "HardwareInfo.c"
#include "turnfix.c"
#include "getball.c"
#include "gostraight.c"
#include "CloseS.c"
#include <SetTenthS.h>
#include <SetCentiS.h>
#include "delayLineGo.c"
#include "slbzw.c"

void setupcanside(int angle, int LR, double distance, int fanzhuan)
{
    turnfix(7.5, angle, -10);
    getball(180);
    gostraight(50, 8);
    CloseS(1);
    SetTenthS(5);
    gostraight(40, -15);
    getball(180);
    SetCentiS(3);
    gostraight(70, -10);
    SetCentiS(5);
    CloseS(0);
    SetCentiS(3);
    gostraight(40, 5);
    delayLineGo(17, 1, 5);
    SetCentiS(3);
    slbzw(LR, 0, distance, fanzhuan);
    turnfix(2, 90, 0);
}
#endif

